package com.tsing.bms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.bms.entity.Order;
import com.tsing.bms.vo.req.AddOrderReqVo;
import com.tsing.bms.vo.req.IdAndStatusReqVo;
import com.tsing.bms.vo.req.IdReqVo;
import com.tsing.bms.vo.req.OrderPageReqVo;
import com.tsing.bms.vo.resp.OrderCountRespVo;
import com.tsing.bms.vo.resp.OrderPageRespVo;

/**
 * @author TheTsing
 * @create 2022-05-04 14:07
 */
public interface IOrderService extends IService<Order> {

    Page<OrderPageRespVo> orderPage(OrderPageReqVo reqVo);

    void updateOrder(IdAndStatusReqVo reqVo);

    void addOrder(AddOrderReqVo reqVo);

    OrderCountRespVo orderCount(IdReqVo reqVo);

}
